package club.kingyin.easycache.component;

import club.kingyin.easycache.key.AbstractEasyCacheKey;

import java.lang.annotation.Annotation;

public interface InjectPostProcess extends PostProcess{

    void postProcessBeforeInject(Annotation[] annotation, AbstractEasyCacheKey key, Pram pram);

    default boolean postProcessPreInject(boolean pre, Annotation[] annotation, AbstractEasyCacheKey key,Pram pram) {
        return true;
    };

    void postProcessAfterInject(boolean isInject, Annotation[] annotation,AbstractEasyCacheKey key,String paramName, Object param);
}
